package com.spark.lola.mapper.pur;

import com.spark.lola.entity.pur.OrderLocation;
import com.spark.lola.support.mybatis.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dengyejun
 * @since 2020-04-24
 */
@Mapper
public interface OrderLocationMapper extends BaseMapper<OrderLocation> {
    OrderLocation selectByOrderId(@Param("mode") Integer mode,@Param("orderId") Long orderId);

    Integer deleteByOrderId(@Param("orderId") Long orderId);
}
